cmake_minimum_required( VERSION 2.6 FATAL_ERROR )

SET(CMAKE_MODULE_PATH "${BTD_SOURCE_DIR}/CMakeModules;${CMAKE_MODULE_PATH}")



FIND_PACKAGE(OpenSceneGraph 2.8.2 REQUIRED QUIET COMPONENTS osg osgText osgViewer)

SET(TARGET_COMMON_LIBRARIES 
    osg 
    osgText
    osgViewer  
)


SET (SOURCES
src/osgfont.cpp
)

SET (EXECUTABLE_NAME
bin/font
)

add_executable (
${EXECUTABLE_NAME}
${SOURCES}
)

target_link_libraries (
${EXECUTABLE_NAME} 
osg osgText osgViewer
)

